using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MyGameManager : MonoBehaviour
{
    public static MyGameManager instance;
    private  double  __clockCount = 0;
    public double clockCount
    {
        get
        {
            return __clockCount;
        }
    }
    public bool clockEable = true;
    private void Awake()
    {
        instance = this;


    }
    // Start is called before the first frame update
    void Start()
    {
        
    }
    private void FixedUpdate()
    {
        if (this.clockEable)
        {
            this.__clockCount += 0.02f;
        }
        
    }
    // Update is called once per frame
    void Update()
    {
        //Debug.Log(this.__clockCount);
    }
   
}
